package com.kunchi.platform.service;

import com.kunchi.platform.model.device.DataItem;
import com.kunchi.platform.model.device.Device;
import com.kunchi.platform.model.device.DeviceMode;
import com.kunchi.platform.model.gateway.Gateway;

import java.io.IOException;
import java.util.List;

/**
 * Created by denniszhou on 2017/6/19.
 */
public interface DeviceService {
    List<Device> getDeviceList() throws IOException;

    Device getDevice(String deviceId) throws IOException;

    List<DeviceMode> getDeviceModeList() throws IOException;

    List<DataItem> getDataItemList(String deviceId) throws IOException;

}
